package mcmt.model;

public class Item {

	private String title;
	private String link;
	private String pubDate;
	private String description;
	private String region;
	private double rate;
	private double unit;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getPubDate() {
		return pubDate;
	}

	public void setPubDate(String pubDate) {
		this.pubDate = pubDate;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getRegion() {
		return region;
	}

	public void setRegion(String region) {
		this.region = region;
	}

	public double getRate() {
		return rate;
	}

	public void setRate(double rate) {
		this.rate = rate;
	}

	public double getUnit() {
		return unit;
	}

	public void setUnit(double unit) {
		this.unit = unit;
	}

	@Override
	public String toString() {
		return "Item: \n title=" + title + "\n link=" + link + "\n pubDate="
				+ pubDate + "\n description=" + description + "\n region="
				+ region + "\n rate=" + rate + "\n unit=" + unit + " \n";
	}
}
